home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 100 / CD-ROM 100.iso / aplic / oo1_1 / f_0034 / common.jar / text / common / guide / data_tabledefine.xml < prev    next >
Encoding:
Extensible Markup Language  |  2003-04-30  |  7.1 KB  |  80 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Table Design</title><meta name="filename" content="text/common/guide/data_tabledefine"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 }
  6.         span.Tabelle1A{
  7.                 width:18cm;}
  8.         td.Tabelle1A1{
  9.                 }
  10.         table.Tabelle3{
  11.                 }
  12.         span.Tabelle3A{
  13.                 width:1.499cm;}
  14.         span.Tabelle3B{
  15.                 width:16.498cm;}
  16.         tr.Tabelle31{
  17.                 }
  18.         td.Tabelle3A1{
  19.                 }
  20.         table.Tabelle4{
  21.                 }
  22.         span.Tabelle4A{
  23.                 width:1.499cm;}
  24.         span.Tabelle4B{
  25.                 width:16.498cm;}
  26.         tr.Tabelle41{
  27.                 }
  28.         td.Tabelle4A1{
  29.                 }
  30.         p.P1{
  31.                 }
  32.         p.P2{
  33.                 }
  34.         span.T1{
  35.                 font-weight:bold;}
  36.         span.fr1{
  37.                 }
  38.         span.fr2{
  39.                 }
  40.         </style></head><body>
  41.   
  42.   
  43.   <p class="P1"><help:paragraphinfo state="U" number="103" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="database tables; creating" tag="kw68135_1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="tables; creating database tables" tag="kw68135_5" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="table design; data sources" tag="kw68135_4" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="designing; database tables" tag="kw68135_3" xmlns:help="http://openoffice.org/2000/help"/></p>
  44.   <p class="Head1"><help:paragraphinfo state="U" number="104" xmlns:help="http://openoffice.org/2000/help"/><help:to-be-embedded Eid="data_tabledefine" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68135">Table Design</help:link></help:to-be-embedded></p>
  45.   <p class="Paragraph"><help:paragraphinfo state="U" number="2" xmlns:help="http://openoffice.org/2000/help"/>This section contains information about how to create a new database table in the <help:link Id="68425" xmlns:help="http://openoffice.org/2000/help">design view</help:link>.</p>
  46.   <p class="Paragraph"><help:paragraphinfo state="U" number="3" xmlns:help="http://openoffice.org/2000/help"/>Open the data source view (F4). Open a data source by clicking the plus sign in front of the name. You see the tables container, called "Tables". Open the table container and click a table. Right-click the table name to open the context menu. Choose <span class="T1">New Table Design</span> to create a new table.</p>
  47.   <p class="Paragraph"><help:paragraphinfo state="U" number="4" xmlns:help="http://openoffice.org/2000/help"/>In the Design view, you can now create the fields for your table.</p>
  48.   <table><tr class=""><th class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  49.       <p class="TextInTable"><draw:image draw:name="Dialog0" svg:desc="Table Design" svg:pixelx="484" svg:pixely="338" svg:width="12.801cm" svg:height="8.95cm" xlink:href="66968" draw:filter-name="" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  50.  
  51.      </span></th></tr></table>
  52.   <ul class="L1">
  53.    <li class="">
  54.     <p class="P2"><help:paragraphinfo state="U" number="5" xmlns:help="http://openoffice.org/2000/help"/>Enter new fields in rows from top to bottom. Click the <span class="T1">Field Name</span> cell and enter a field name for each data field.</p>
  55.    </li>
  56.    <li class="">
  57.     <p class="P2"><help:paragraphinfo state="U" number="6" xmlns:help="http://openoffice.org/2000/help"/>In the next cell to the right, define the <span class="T1">Field Type</span>. When you click in the cell, you can select a field type in the combo box.</p>
  58.    </li>
  59.   </ul>
  60.   <table><tr class="Tabelle31"><th class="Tabelle3A1" style="text-align:left;"><span class="Tabelle3A">
  61.       <p class="Paragraph"><draw:image draw:name="Icon1" svg:desc="Note Icon" svg:pixelx="32" svg:pixely="32" svg:width="0.847cm" svg:height="0.847cm" xlink:href="65980" draw:filter-name="" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  62.  
  63.      </span></th><th class="Tabelle3A1" style="text-align:left;"><span class="Tabelle3B">
  64.       <p class="Paragraph"><help:paragraphinfo state="U" number="38" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="memo fields; dBase" tag="kw68135_2" xmlns:help="http://openoffice.org/2000/help"/>Each field can only accept data corresponding to the specified field type. For example, it is not possible to enter text in a number field. Memo fields in dBase III format are references to internally-managed text files which can hold up to 64KB text.</p>
  65.      </span></th></tr></table>
  66.   <p class="Paragraph"><help:paragraphinfo state="U" number="41" xmlns:help="http://openoffice.org/2000/help"/>You can enter an optional <span class="T1">Description</span> for each field. The text of the description will appear as a tip on the column headings in the table view.</p>
  67.   <p class="Head2"><help:paragraphinfo state="U" number="42" xmlns:help="http://openoffice.org/2000/help"/>Field Properties</p>
  68.   <p class="Paragraph"><help:paragraphinfo state="U" number="45" xmlns:help="http://openoffice.org/2000/help"/>Enter properties for each selected data field. Depending on the database type, some input facilities may not be available.</p>
  69.   <p class="Paragraph"><help:paragraphinfo state="U" number="46" xmlns:help="http://openoffice.org/2000/help"/>In the <span class="T1">Default value</span> box, enter the default contents for every new record. This contents can be edited later.</p>
  70.   <p class="Paragraph"><help:paragraphinfo state="U" number="47" xmlns:help="http://openoffice.org/2000/help"/>In the <span class="T1">Entry required</span> box, specify whether or not the field may remain empty.</p>
  71.   <p class="Paragraph"><help:paragraphinfo state="U" number="7" xmlns:help="http://openoffice.org/2000/help"/>For the <span class="T1">Length</span> box, a combo box may be shown that provides the available choices.</p>
  72.   <table><tr class="Tabelle41"><th class="Tabelle4A1" style="text-align:left;"><span class="Tabelle4A">
  73.       <p class="Paragraph"><draw:image draw:name="Icon2" svg:desc="Note Icon" svg:pixelx="32" svg:pixely="32" svg:width="0.847cm" svg:height="0.847cm" xlink:href="65980" draw:filter-name="" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  74.  
  75.      </span></th><th class="Tabelle4A1" style="text-align:left;"><span class="Tabelle4B">
  76.       <p class="Paragraph"><help:paragraphinfo state="U" number="39" xmlns:help="http://openoffice.org/2000/help"/>If you want to change the name or change the type of a data field, the table itself must not be opened for data entry; open the table only in the design view.</p>
  77.      </span></th></tr></table>
  78.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/></p>
  79.   <p class="ParaList"><help:paragraphinfo state="S" xmlns:help="http://openoffice.org/2000/help"/><help:embedded Id="68433" Eid="database_main" xmlns:help="http://openoffice.org/2000/help"/></p>
  80.  </body></html>